package leetcode.twopoint;

import leetcode.twopoint.common.TwoPointUtils;

import java.util.Arrays;

class Solution26 {
    public int removeDuplicates(int[] nums) {
        return TwoPointUtils.removeDuplicates(nums);
    }
}

public class leetcode26 {
    public static void main(String[] args) {
        Solution26 solution26 = new Solution26();
        int[] nums = {0,0,1,1,1,2,2,3,3,4};
//        int[] nums = {1,1,2};
        System.out.println(solution26.removeDuplicates(nums));
        System.out.println(Arrays.toString(nums));
    }

}
